package com.weiyuwqj.server.mapper;

import com.weiyuwqj.api.model.BusItemAutoSort;
import com.weiyuwqj.api.model.vo.ItemAutoVo;
import org.apache.ibatis.annotations.Param;
import org.springframework.stereotype.Repository;
import tk.mybatis.mapper.common.Mapper;

import java.util.Map;
@Repository
public interface BusItemAutoSortMapper extends Mapper<BusItemAutoSort> {
    public void updateAutoSort(Map map);

    public void deleteByAutoId(@Param(value = "autoId")Integer autoId,@Param(value ="userId")Integer userId);

    public BusItemAutoSort getSortByAutoId(@Param(value = "autoId")Integer autoId);
    public Integer getRankingBySort(BusItemAutoSort autoSort);
}